/*
 * ReportingEntreprise.java
 *
 * Created on 30 mai 2007, 22:00
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package Entity;

import java.io.Serializable;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;

/**
 * Entity class ReportingEntreprise
 *
 * @author amo
 */
@Entity
public class ReportingEntreprise implements Serializable
{
    
    @Id
    @GeneratedValue(strategy = GenerationType.AUTO)
    private int id;
    private double montantImpot;
    private int nbEmbauche;
    private int nbLicenciement;
    private double benefice;
    private int bip;
    
    /** Creates a new instance of ReportingEntreprise */
    public ReportingEntreprise(int nimBip)
    {
        montantImpot=0;
        nbEmbauche=0;
        nbLicenciement=0;
        benefice=0;
        bip=nimBip;
    }
    public ReportingEntreprise()
    {
        
    }
    /**
     * Gets the id of this ReportingEntreprise.
     * @return the id
     */
    public int getId()
    {
        return this.id;
    }
    
    /**
     * Sets the id of this ReportingEntreprise to the specified value.
     * @param id the new id
     */
    public void setId(int id)
    {
        this.id = id;
    }
    
    public double getMontantImpot()
    {
        return montantImpot;
    }
    
    public void setMontantImpot(double montantImpot)
    {
        this.montantImpot = montantImpot;
    }
    
    public int getNbEmbauche()
    {
        return nbEmbauche;
    }
    
    public void setNbEmbauche(int nbEmbauche)
    {
        this.nbEmbauche = nbEmbauche;
    }
    
    public int getNbLicenciement()
    {
        return nbLicenciement;
    }
    
    public void setNbLicenciement(int nbLicenciement)
    {
        this.nbLicenciement = nbLicenciement;
    }
    
    public double getBenefice()
    {
        return benefice;
    }
    
    public void setBenefice(double benefice)
    {
        this.benefice = benefice;
    }
    
    public int getBip()
    {
        return bip;
    }
    
    public void setBip(int bip)
    {
        this.bip = bip;
    }
    
    
    
    
}
